import {Injectable} from "@angular/core";
import {HttpClient} from "@angular/common/http";
import {Award} from "./domain";

@Injectable()
export class AwardService{
  constructor(private  http:HttpClient){

  }
  getawards(){
    return this.http.get<Award[]>("http://www.zm-it.cn/v1/award");
  }

}
